package dancrawler.client.gamecmd;

import dancrawler.client.Client;
import dancrawler.proto.cmd.CmdHandlerRegister;

/**
 *
 */
public class ClientCmdRegister {

    public static void registerHandlers(CmdHandlerRegister hreg, Client client) {
        hreg.setHandler((short)1, new CmdUpdatePos(client));
        hreg.setHandler((short)6, new CmdNewObj(client));
        hreg.setHandler((short)7, new CmdSetFocus(client));
        hreg.setHandler((short)8, new CmdSetTile(client));
        hreg.setHandler((short)10, new CmdRemoveObj(client));
        hreg.setHandler((short)12, new CmdPong());
        hreg.setHandler((short)14, new CmdDefPlayer(client));
        hreg.setHandler((short)15, new CmdRmPlayer(client));
        hreg.setHandler((short)17, new CmdChatRec(client));
        hreg.setHandler((short)19, new CmdDie(client));
        hreg.setHandler((short)21, new CmdDefTile(client));
        hreg.setHandler((short)22, new CmdSetViewRange());
        hreg.setHandler((short)24, new CmdClearMap(client));
    }
}
